package com.itogis.rest.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class VoteEvent {

	
	private Long id;// 事件ID
	private String name;// 事件名称
	private String status;// 事件状态:初始化,正常,暂停,注销,失效
	private String description;// 事件描述
	private Date startTime;// 事件开始时间
	private Date endTime;// 时间结束时间
	private String type;// 事件类型 RADIO:单选 CHECKBOX:多选
	private String style;// 是否用户登录可以投票 LOGIN LOGOUT ALL
	private Date createTime;// 创建时间
	private String pageUrl;// 投票模板页面地址
	private String voteSourceType;// 投票来源类型
	private String voteSourceId;// 投票来源ID
	private String pointType;// 单次覆盖式投票,可重复投票,只能投一次 ONCEMORE MORE ONE
	private long spaceHour;// 投票间隔 单位小时
	private String showCheckMes;// 多选个数提示信息
	private long maxPoint;// 最多可选择个数>=
	private long minPoint;// 最少可选择个数<=
	private String speakNone;//评论是否匿名 Y N
	private List<VoteOption> viewOption = new ArrayList<VoteOption>(0);
	private boolean voted;
	private String voteGgroupId;// 组策略ID
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}



	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public String getVoteSourceType() {
		return voteSourceType;
	}

	public void setVoteSourceType(String voteSourceType) {
		this.voteSourceType = voteSourceType;
	}

	public String getVoteSourceId() {
		return voteSourceId;
	}

	public void setVoteSourceId(String voteSourceId) {
		this.voteSourceId = voteSourceId;
	}

	public String getPointType() {
		return pointType;
	}

	public void setPointType(String pointType) {
		this.pointType = pointType;
	}

	public long getSpaceHour() {
		return spaceHour;
	}

	public void setSpaceHour(long spaceHour) {
		this.spaceHour = spaceHour;
	}

	public String getShowCheckMes() {
		return showCheckMes;
	}

	public void setShowCheckMes(String showCheckMes) {
		this.showCheckMes = showCheckMes;
	}

	public long getMaxPoint() {
		return maxPoint;
	}

	public void setMaxPoint(long maxPoint) {
		this.maxPoint = maxPoint;
	}

	public long getMinPoint() {
		return minPoint;
	}

	public void setMinPoint(long minPoint) {
		this.minPoint = minPoint;
	}

	public List<VoteOption> getViewOption() {
		return viewOption;
	}

	public void setViewOption(List<VoteOption> viewOption) {
		this.viewOption = viewOption;
	}

	public String getVoteGgroupId() {
		return voteGgroupId;
	}

	public void setVoteGgroupId(String voteGgroupId) {
		this.voteGgroupId = voteGgroupId;
	}

	public boolean isVoted() {
		return voted;
	}

	public void setVoted(boolean voted) {
		this.voted = voted;
	}

	public String getSpeakNone() {
		return speakNone;
	}

	public void setSpeakNone(String speakNone) {
		this.speakNone = speakNone;
	}

	

}